﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using TencentCloud.Common;

namespace txcloud.sdk.SSL
{
    internal class ModifyDomainAuthMethodRequest : AbstractModel
    {
        [JsonProperty("CertificateId")]
        public string CertificateId { get; set; }
        [JsonProperty("DvAuthMethod")]
        public string DvAuthMethod { get; set; }
        //
        // 摘要:
        //     签发后是否删除自动域名验证记录， 默认为否；仅域名为DNS_AUTO验证类型支持传参
        [JsonProperty("DeleteDnsAutoRecord")]
        public bool? DeleteDnsAutoRecord { get; set; }
        public override void ToMap(Dictionary<string, string> map, string prefix)
        {
            SetParamSimple(map, prefix + "CertificateId", CertificateId);
            SetParamSimple(map, prefix + "DvAuthMethod", DvAuthMethod);
            SetParamSimple(map, prefix + "DeleteDnsAutoRecord", DeleteDnsAutoRecord);
        }
    }
}
